package com.yanmaohu.yulia.statement;

import com.yanmaohu.yulia.bean.SessionCharacteristicList;

public class SetSessionCharacteristicsStatement implements SqlSessionStatement  {

    private int beginIndex;
    private int endIndex;
    private SessionCharacteristicList sessionCharacteristicList;

    public SetSessionCharacteristicsStatement(int beginIndex,
                                              SessionCharacteristicList sessionCharacteristicList) {
        this.beginIndex = beginIndex;
        this.endIndex = sessionCharacteristicList.getEndIndex();
        this.sessionCharacteristicList = sessionCharacteristicList;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public SessionCharacteristicList getSessionCharacteristicList() {
        return sessionCharacteristicList;
    }

}
